linux/i386: widen physical address range
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 22 Jan 2007 15:57:19 +0000 (15:57 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 22 Jan 2007 15:57:19 +0000 (15:57 +0000)
32on64 supports 168Gb for 32-bit guests, hence at least 38 bits must
be specified here. The foreign frame bit is MFN bit 31, so the maximum
valid value here would be 43.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/page.h

index b8627c49fce5836211ae189214fa0c88ef3af12d..1525dbfca4323a9fbf5596d16bf5dc8fa4cc31bc 100644 (file)
@@ -7,7 +7,7 @@
 #define PAGE_MASK      (~(PAGE_SIZE-1))
 
 #ifdef CONFIG_X86_PAE
-#define __PHYSICAL_MASK_SHIFT  36
+#define __PHYSICAL_MASK_SHIFT  40
 #define __PHYSICAL_MASK                ((1ULL << __PHYSICAL_MASK_SHIFT) - 1)
 #define PHYSICAL_PAGE_MASK     (~((1ULL << PAGE_SHIFT) - 1) & __PHYSICAL_MASK)
 #else